//
//  WHWebViewController.h
//  LvZhongMagicKey
//
//  Created by 邓伟浩 on 2018/5/30.
//  Copyright © 2018年 邓伟浩. All rights reserved.
//

#import "WHRootViewController.h"
#import <WebKit/WebKit.h>

@interface WHWebViewController : WHRootViewController

@property (nonatomic, strong) WKWebView *webView;
@property (nonatomic, strong) UIProgressView *progressView;

/** 进度条颜色 */
@property (nonatomic) UIColor *progressViewColor;

@property (nonatomic, weak) WKWebViewConfiguration *webConfiguration;
@property (nonatomic, copy) NSString *url;

- (instancetype)initWithUrl:(NSString *)url;

/** 更新进度条 */
- (void)updateProgress:(double)progress;

//更新导航栏按钮，子类去实现
- (void)updateNavigationItems;

@end
